package cn.sz.hy.logic.strategy.vo;

import java.util.List;

public class BasicVo {
	private String src1;
	private String src2;
	private String det;
	private int sheetIndex;
	private List<SheetItem> detColumn;

	public String getSrc1() {
		return src1;
	}

	public void setSrc1(String src1) {
		this.src1 = src1;
	}

	public String getSrc2() {
		return src2;
	}

	public void setSrc2(String src2) {
		this.src2 = src2;
	}

	public String getDet() {
		return det;
	}

	public void setDet(String det) {
		this.det = det;
	}

	public int getSheetIndex() {
		return sheetIndex;
	}

	public void setSheetIndex(int sheetIndex) {
		this.sheetIndex = sheetIndex;
	}

	public List<SheetItem> getDetColumn() {
		return detColumn;
	}

	public void setDetColumn(List<SheetItem> detColumn) {
		this.detColumn = detColumn;
	}

	public boolean vorify() {
		return (det != null && !det.equals(""))
				&& (src1 != null && !src1.equals(""))
				&& (src2 != null && !src2.equals(""));
	}
}
